package com.freeman.cement.service;

import com.freeman.cement.entity.AutoAssignmentConfig;
import com.freeman.cement.entity.ResponseResult;

/**
 * 自动转发配置服务
 */
public interface AutoAssignmentService {
    ResponseResult selectAssignmentFuzzy(String cameraName, String eventTypeName, String recvUserName, Boolean isEnabled, Boolean isSmsEnabled, int pageNo, int pageSize);

    AutoAssignmentConfig getAssignment(String eventType, String cameraIndexCode);

    ResponseResult addAssignment(AutoAssignmentConfig assignment);

    ResponseResult selectAssignmentById(int id);

    ResponseResult deleteAssignment(int id);

    ResponseResult updateAssignment(int id, String userIds, Boolean isEnabled, Boolean isSmsEnabled, String remark);
}
